Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring win_lgpo changes in from master #55431

Closed
wants to merge 13 commits into from

Conversation

twangboy
Copy link
Contributor

What does this PR do?

Brings in changes from PR to master: #54896

Tests written?

Yes

Commits signed with GPG?

Yes

@twangboy twangboy requested a review from a team as a code owner November 25, 2019 21:54
@ghost ghost requested a review from cassandrafaris November 25, 2019 21:54
@Akm0d
Copy link
Contributor

Akm0d commented Nov 26, 2019

Let's split this into 2 or 3 PRs; it's too huge. .ci changes in one, requirements changes in another, and salt/tests changes in another

@Akm0d Akm0d added this to the Approved milestone Nov 26, 2019
@dwoz dwoz added v2019.2.3 unsupported version and removed master-port labels Dec 2, 2019
@twangboy twangboy force-pushed the fix_win_lgpo_2019.2.3 branch 2 times, most recently from 2d498ee to 93d482a Compare December 3, 2019 18:15
Set the key to lowercase in the admx/adml files and cache those
Change the REGKEY_XPATH back to no longer check for case
Needs thorough testing
@xeacott
Copy link
Contributor

xeacott commented Dec 21, 2019

This is gunna be amazing.

Adds a new function `get_policy` that allows you to get the current
setting for a single policy on the machine.
Adds some helper functions to get machine settings for policies defined
in `_policy_info` (`_get_policy_info_setting`) and policies defined in
the policy templates (`_get_policy_adm_setting`)
Changes the `win_lgpo` state function to use `get_policy` instead of
listing all policies and their settings on the machine. This is a huge
speed increase.
@twangboy twangboy closed this Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2019.2.3 unsupported version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants